home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 15708 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  655 b 

  1. Path: news.voyager.net!news
  2. From: sence@ava.taby.se (Bjorn Osterman)
  3. Newsgroups: comp.lang.c++
  4. Subject: Wildcards and strcmp.
  5. Date: Sun, 07 Apr 1996 14:42:00 GMT
  6. Organization: The Gymnasium
  7. Message-ID: <3167d30c.24681843@vixa.voyager.net>
  8. Reply-To: sence@ava.taby.se
  9. NNTP-Posting-Host: vixa.voyager.net
  10. X-Newsreader: Forte Agent .99d/32.182
  11.  
  12. Is there a function where you can compare a string and a
  13. wildcard-string like?
  14.  
  15. PowerStringCompare("C?ri*","Christ" ) would return TRUE
  16. PowerStringCompare("C?ri*","Chrises") would return TRUE
  17. PowerStringCompare("C?ri*","Borland") would return FALSE
  18.  
  19.  
  20.  
  21.   // bjorn@ava.taby.se
  22.   // http://www.ava.taby.se/www/sence
  23.